<!--
 * @description  :情报调查
 * @descriptionDetail:情报调查
 * @copyright    : 浙江烟草
 * @author       : dw
 * @create       : 2022-11-19 14:37:47
-->
<template>
  <view view class="page">
    <!-- #ifdef H5-ONLY -->
    <theme-navbar title="情报调查">
    </theme-navbar>
    <!-- #endif -->
    <view class="content u-page">
      <view class="rdcontent">
        <fsection :title="title.basemsg" class="fsection"></fsection>
        <view>
          <u-row gutter="16" align="top">
            <u-col span="6">
              <view class="msg-title">
                登记时间
              </view>
              <view class="msg-context">
                {{ basemsg.time }}
              </view>
            </u-col>
            <u-col span="6">
              <view class="msg-title">
                来源信息
              </view>
              <view class="msg-context">
                {{ basemsg.Source }}
              </view>
            </u-col>
          </u-row>
          <u-row gutter="16" justify="space-between" align="top">
            <u-col span="12">
              <view class="msg-title">
                情报描述
              </view>
              <view class="msg-context">
                {{ basemsg.description }}
              </view>
            </u-col>
          </u-row>
          <u-row gutter="16" align="top">
            <u-col span="6">
              <view class="msg-title">
                调查单位
              </view>
              <view class="msg-context">
                {{ basemsg.unit }}
              </view>
            </u-col>
            <u-col span="6">
              <view class="msg-title">
                调查人
              </view>
              <view class="msg-context">
                {{ basemsg.human }}
              </view>
            </u-col>
          </u-row>
        </view>
      </view>
      <view class="rdcontent">
        <u-gap height="5" :bg-color="$theme.cm_form_item_bottom_border_color"></u-gap>
        <fsection :title="title.obligatoryflow" :customStyle="customStyle"></fsection>
        <u-gap height="5" :bg-color="$theme.cm_form_item_bottom_border_color"></u-gap>
      </view>
      <view>
        <caseConnection :connection="casedata"></caseConnection>
      </view>
    </view>
  </view>
</template>

<script>
import fsection from "@/components/form-section.vue";
import caseConnection from "../components/caseConnection.vue"
export default {
  components:{
    fsection,caseConnection,
  },
  data(){
    return{
      customStyle:{
        padding:"20rpx 32rpx",
      },
      baseInfo: {
        isInternetCase: false,
        billNumber:"",
      },
      labelStyle: {
        fontWeight: 400,
        color: this.$theme.u_main_color,
        fontSize: '.75rem',
      },
      iconstlye: {
        'fontSize': '40rpx',
        'color': this.$theme.u_type_primary,
      },
      title:{
        basemsg:"基本信息",
        obligatoryflow:"业务流转信息",
      },
      basemsg:
        {
          time:"2020-2-02 12:45",
          Source:"手工登记",
          description:"简要描述情报内容：时间地点对象涉嫌违法行为等。",
          unit:"xx市烟草专卖局（默认当前调查人所在单位）",
          human:"张三（默认当前人）",
        },
      tabletitle:[
        {id:"01",text:"审批意见",width:"20%",},
        {id:"02",text:"审批意见",width:"60%",},
        {id:"3",text:"审批时间",width:"20%",},
      ],
      tablecontest:[
        {process:"审核人意见",comment:"同意",time:"2022-10-12",},
        {process:"承办部门意见",comment:"同意，涉及案件的，自动生成案件来源登记表；需领取举报奖励的，并自动生成举报信息登记表。",time:"2022-10-12",},
      ],
      thstyle:{
        "word-break":"break-all",
      },
      list:[
        {
          name:"立案",
          checked:false,
          disable:false,
        },
        {
          name:"持续调查",
          checked:false,
          disable:false,
        },
        {
          name:"终止调查",
          checked:false,
          disable:false,
        },
      ],
      casedata:[
        {
          id:"1",name:"操作类型",content:"上报",
        },
        {
          id:"2",name:"操作时间",content:"2019-01-03",
        },
        {
          id:"3",name:"操作人",content:"张三",
        },
        {
          id:"4",name:"处理内容",content:"处理意见处理意见处理意见处理意见处理意见处理意见处理意见处理意见",
        },],
    }
  },
  methods:{
  // 传递复选框的值
    submit(){
      let Data = [];
      for(let i = 0; i < this.list.length;i++){
        if(this.list[i].checked == true){
          Data.push(this.list[i].name);
        }
      }
      console.log(Data);
    },
  },

}
</script>

<style lang="scss" scoped>
@import "./add.scss";
.rdcontent{
    padding: 0px 20px 10px 20px;
    margin:5px 0px;
}
.msg-title{
    font-size: 14px;
}
.msg-context{
    font-size: 16px;
    padding:20rpx 0rpx;
    word-break:break-all;
}
/deep/.u-td{
  height: auto !important;
}
</style>
